package com.system.dao;

import com.github.pagehelper.Page;
import com.system.entity.Question;
import org.springframework.stereotype.Repository;

@Repository
public interface QuestionDao {
    void addQuestion(Question question);

    Page<Question> findByPage(Question question);

    void deleteQuestion(Integer id);

    void deleteQuestionByIds(Integer[] ids);

    Question findById(int id);

    void updateQuestion(Question question);
}
